﻿using System;
using System.Collections.Generic;
using UnityEngine;

namespace NpcFramework
{
    
    
    [Serializable]
    public class BranchPointData
    {
        public int Index;
        public BranchType BranchType;
        public float Ratio;
    }

    [Serializable]
    public class NpcWayPointData
    {
        public int Index = ConstValue.INVALID_INDEX;
        public int PrevIndex = ConstValue.INVALID_INDEX;
        public int NextIndex = ConstValue.INVALID_INDEX;
        public List<BranchPointData> BranchIndex = new List<BranchPointData>();
        public Vector3 Position;
        public Vector3 Forward;
        public float Width;
        public Vector3 Right;
        public bool IsBranchPoint;
        public bool IsGenerateCar;
        public bool IsGenerateNpc;
        public string BTreeName;
        public int WayId;
        public int TrafficLightID;
    }
}
